package com.gome.ocean.dao.datax;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.gome.ocean.dao.model.datax.SqlChildrenNode;
import com.gome.ocean.dao.model.datax.SqlTplMenuVO;

/**
 * @author zhangguoqing 2016年9月18日 下午7:00:05
 * @since 5.0.0
 */
@Repository("iWebSqlChildrenDAO")
public interface IWebSqlChildrenDAO {

	public void insertSqlChildrenModule(SqlChildrenNode node);

	public void deleteSqlChildrenModuleByParentId(Integer parentId);

	public void deleteSqlChildrenModuleById(Integer id);

	public void updateSqlChildrenModuleNode(SqlChildrenNode node);

	public SqlChildrenNode getSqlChildrenNode(Integer id);

	public List<SqlChildrenNode> getSqlChildrenNodeList(Map<String, Object> map);

	// 模板
 
	public List<SqlTplMenuVO> getSqlTplMenuVO(Map<String, Object> param);

	public List<SqlTplMenuVO> getSqlTplMenuVOCollection(Map<String, Object> param);

	public void insertSelective(SqlTplMenuVO sqlTplMenuVO);

	public void updateByPrimaryKeySelective(SqlTplMenuVO sqlTplMenuVO);

	public void deleteByPrimaryKey(Long id);
}
